package com.xinyue.user.dao;

import com.xinyue.user.pojo.Identification;
import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IdentificationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Identification record);

    Identification selectByPrimaryKey(Integer id);

    List<Identification> selectAll();

    int updateByPrimaryKey(Identification record);
    
    @Select("select * from  xy_identification  where uid = #{uid,jdbcType=INTEGER}")
    Identification selectByUid(Integer uid);
    
    @Delete("delete from  xy_identification  where uid = #{uid,jdbcType=INTEGER}")
    int deleteByUid(Integer uid);

}